  /**
   * Generate time : 2016-04-25 10:37:40
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKJxAp 
 * table comment : 检修安排 
 */
public class ZMCKJxAp extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdMiningName = " ";		/* 矿井名称*/
	private String fdMiningId = " ";		/* 矿井id*/
	private String fdStatus = "草拟";		/* 状态*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdReportPerson = " ";		/* 汇报人*/
	private String fdJxTime = " ";		/* 检修时间*/
	private String fdJxBm = " ";		/* 检修部门*/
	private String fdJxContent = " ";		/* 检修内容*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningName");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningId");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井id");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(6);	
	eiColumn.setDescName("状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReportPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("汇报人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJxTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检修时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJxBm");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检修部门");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdJxContent");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("检修内容");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKJxAp() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdMiningName - 矿井名称
	 * @return the fdMiningName
	 */
	public String getFdMiningName() {
		return this.fdMiningName;
	}
	
	/**
	 * set the fdMiningName - 矿井名称
	 */
	public void setFdMiningName(String fdMiningName) {
		this.fdMiningName = fdMiningName;
	}
	/**
	 * get the fdMiningId - 矿井id
	 * @return the fdMiningId
	 */
	public String getFdMiningId() {
		return this.fdMiningId;
	}
	
	/**
	 * set the fdMiningId - 矿井id
	 */
	public void setFdMiningId(String fdMiningId) {
		this.fdMiningId = fdMiningId;
	}
	/**
	 * get the fdStatus - 状态
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus - 状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdReportPerson - 汇报人
	 * @return the fdReportPerson
	 */
	public String getFdReportPerson() {
		return this.fdReportPerson;
	}
	
	/**
	 * set the fdReportPerson - 汇报人
	 */
	public void setFdReportPerson(String fdReportPerson) {
		this.fdReportPerson = fdReportPerson;
	}
	/**
	 * get the fdJxTime - 检修时间
	 * @return the fdJxTime
	 */
	public String getFdJxTime() {
		return this.fdJxTime;
	}
	
	/**
	 * set the fdJxTime - 检修时间
	 */
	public void setFdJxTime(String fdJxTime) {
		this.fdJxTime = fdJxTime;
	}
	/**
	 * get the fdJxBm - 检修部门
	 * @return the fdJxBm
	 */
	public String getFdJxBm() {
		return this.fdJxBm;
	}
	
	/**
	 * set the fdJxBm - 检修部门
	 */
	public void setFdJxBm(String fdJxBm) {
		this.fdJxBm = fdJxBm;
	}
	/**
	 * get the fdJxContent - 检修内容
	 * @return the fdJxContent
	 */
	public String getFdJxContent() {
		return this.fdJxContent;
	}
	
	/**
	 * set the fdJxContent - 检修内容
	 */
	public void setFdJxContent(String fdJxContent) {
		this.fdJxContent = fdJxContent;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdMiningName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningName")), fdMiningName));
		setFdMiningId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningId")), fdMiningId));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdReportPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReportPerson")), fdReportPerson));
		setFdJxTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJxTime")), fdJxTime));
		setFdJxBm(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJxBm")), fdJxBm));
		setFdJxContent(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdJxContent")), fdJxContent));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdMiningName",StringUtils.toString(fdMiningName, eiMetadata.getMeta("fdMiningName")));	
			map.put("fdMiningId",StringUtils.toString(fdMiningId, eiMetadata.getMeta("fdMiningId")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdReportPerson",StringUtils.toString(fdReportPerson, eiMetadata.getMeta("fdReportPerson")));	
			map.put("fdJxTime",StringUtils.toString(fdJxTime, eiMetadata.getMeta("fdJxTime")));	
			map.put("fdJxBm",StringUtils.toString(fdJxBm, eiMetadata.getMeta("fdJxBm")));	
			map.put("fdJxContent",StringUtils.toString(fdJxContent, eiMetadata.getMeta("fdJxContent")));	
			
		return map;
	
	}
}